import Sort.BubbleSort;
import Sort.HeapSort;
import Sort.QuickSort;
import Sort.SelectSort;

import java.util.Arrays;

public class TestSort {
    public void test_HeapSort()
    {
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        new HeapSort().Sort(array);
        System.out.println(Arrays.toString(array));
    }
    public void test_SelectSort()
    {
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        new SelectSort().Sort(array);
        System.out.println(Arrays.toString(array));
    }
    public void test_BubbleSort()
    {
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        new BubbleSort().Sort(array);
        System.out.println(Arrays.toString(array));
    }
    public void test_QuickSort()
    {
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        new QuickSort().Sort(array);
        System.out.println(Arrays.toString(array));
    }
    public static void main(String[] args) {
        TestSort sort = new TestSort();
        sort.test_HeapSort();
        sort.test_SelectSort();
        sort.test_BubbleSort();
        sort.test_QuickSort();
    }
}
